package com.letian.record.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.letian.common.annotation.Excel;
import com.letian.common.core.domain.BaseEntity;

/**
 * 人物关系扩展信息对象 record_person_extension
 * 
 * @author bmz
 * @date 2023-01-15
 */
public class RecordPersonExtension extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 扩展编码 */
    private Long personExtensionId;

    /** 人物编码 */
    @Excel(name = "人物编码")
    private Long personId;

    /** 扩展名称 */
    @Excel(name = "扩展名称")
    private String name;

    /** 扩展内容 */
    @Excel(name = "扩展内容")
    private String content;

    /** 删除标志 */
    private String delFlag;

    public void setPersonExtensionId(Long personExtensionId) 
    {
        this.personExtensionId = personExtensionId;
    }

    public Long getPersonExtensionId() 
    {
        return personExtensionId;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("personExtensionId", getPersonExtensionId())
            .append("personId", getPersonId())
            .append("name", getName())
            .append("content", getContent())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
